package com.bxshey.happyTown.result;

import lombok.Data;

/**
 * @作者：不想说话而已
 * @Date：2024/1/4 22:15
 */


public enum ResultEnum {

    SUCCESS(200, "成功"),
    ERROR_ENROLL(410, "用户未注册"),

    ERROR(404, "失败"),
    ERROR_FILE(430, "上传文件过大或后缀名错误"),
    ERROR_WX_CODE(420, "微信授权失败");

    public String msg;
    public Integer code;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
